package com.jiashihui.schema_lgorithm.spring.aspect.proxy;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author jiashihui
 * @describe: 前置通知的实现类
 * @date 2019/03/25
 */
public class TestMethodBeforeAdive implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("执行前置通知--->"+"正在执行的方法名为"+method.getName());
    }
}
